﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Media;
using jaam_butters.Agents;

    
namespace jaam_butters.Ground
{
    
    class Ground : DrawableGameComponent
    {
        SpriteBatch spriteBatch; 
        DrawableGameComponent[] gameGrid = new DrawableGameComponent[25];
        int tileHeight = 120;
        int tileWidth = 120;
        Game game;

        public Ground(Game g, Vector2 position,DrawableGameComponent[] grid)
            : base(g)
        {
           
            spriteBatch = new SpriteBatch(g.GraphicsDevice);
            gameGrid = grid; 
            game = g;
        }

        public override void Draw(GameTime gameTime)
        {

            spriteBatch.Begin();
            for (int i = 0; i < 5; i++)
            {
                for (int j = 0; j < 5; j++)
                {
                   
                }
            }
               

            spriteBatch.End();

            base.Draw(gameTime);
        }
       
    }
}
